package com.jyniubi.gmail.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jyniubi.gmail.common.bean.PageResultVo;
import com.jyniubi.gmail.common.bean.PageParamVo;
import com.jyniubi.gmail.pms.entity.AttrGroupEntity;
import com.jyniubi.gmail.pms.vo.ItemGroupVo;

import java.util.List;

/**
 * 属性分组
 *
 * @author jyzhang
 * @email 954331623@qq.com
 * @date 2024-09-20 16:40:10
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageResultVo queryPage(PageParamVo paramVo);

    List<AttrGroupEntity> queryAttrGroupsByCatId(Long catId);

    List<ItemGroupVo> queryGroupsWithAttrValuesByCategoryIdAndSpuIdAndSkuId(Long cid, Long spuId, Long skuId);
}

